package com.ougy.reshop.test.network;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.ougy.reshop.test.recognition.ResultRecognition;

@Component
public class HttpServerDao extends BaseHttpUtil{
	public Object get(String url,Map<String,String> paramsPair,ResultRecognition<?, ?> rec){
		String back = super.sendGet(url, paramsPair);
		return rec.recognition(back);
	}
}
